/**
 * 
 */
package bebDialogs;

import javax.swing.JOptionPane;

/**
 * @author slim
 *
 */
public class Warning{
	public static void warningInformation(String content,String title){
		JOptionPane.showMessageDialog(null,
			    content,
			    title,
			    
			    JOptionPane.WARNING_MESSAGE);
	}
	
	public static int warningConfirmation(String content,String title){
		
		return JOptionPane.showConfirmDialog(null,
				 content, title,
			    JOptionPane.YES_NO_OPTION) ;
		
	}

}
